package com.dx.architectureddd.app.chain.third;

import com.dx.architectureddd.api.dto.req.ThirdCmd;
import com.dx.architectureddd.common.dp.pipeline.PipelineContext;
import lombok.Data;

import java.util.Map;

/**
 * 第三方能力
 *
 * @author xin.deng
 * @date 2023/09/24
 */
@Data
public class ThirdContext extends PipelineContext<ThirdCmd> {

    /**
     * 入参
     */
    private Map<String, Object> input;

    /**
     * 策略类型
     */
    private String strategyType;

    @Override
    public String getName() {
        return "第三方能力上下文";
    }
}
